<%@ page language="java" contentType="text/html; charset=utf8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>UAUC-登陆</title>
</head>
<body>
	<c:if test="${not empty param.error}">
		<font color="red">
			登录失败 <br/>
		</font>
		原因 : ${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message} 
	</c:if>
	<div align="center" />
	<form action="/uauc/j_spring_security_check" method="POST" >
		<table >
			<tr>
				<td align="right">用户名：</td>
				<td><input type="text" name="j_username"/> </td>
			</tr>
			<tr>
				<td align="right">密码：</td>
				<td><input type="password"  name="j_password" /> </td>
			</tr>
			<tr>
				<td align="right" >记住我</td>
				<td><input type="checkBox" name="_spring_security_remember_me" />
				</td>
			</tr>
			<tr>
				<td colspan="2" align="right">
					<input type="submit" value="提交" /> 
					<input type="reset" value="重置" />
				</td>
			</tr>
						
		</table>
	</form>
	</div>
			
</body>
</html>
